package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * 打卡规则类型
 * @author luotao
 * @date 2023/4/10
 */
public enum ClockCensusTypeEnum implements IDescription {

	NORMAL(0,"早八晚五","早上8:30到17:30,用于行政人员"),
	EXCHANGE(1,"上一休一","工作时长为当日8:30到次日8:30,上一天休息一天,用于生产人员");

	//	序号
	private final Integer code;
	//	规则名称
	private final String name;
	//	详情
	private final String description;


	ClockCensusTypeEnum(Integer code, String name, String description) {
		this.name = name;
		this.description = description;
		this.code = code;
	}

	public Integer getCode() {return code;}

	public String getName() {
		return name;
	}

	@Override
	public String getDescription() {
		return description;
	}


}
